<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@taglib uri="/struts-tags" prefix="s" %>


<!DOCTYPE html>
<html lang="zh-cn">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
    <meta name="renderer" content="webkit">
    <title>管理员登录</title>
    <s:include value="/admin/commons/head.jsp"></s:include>
</head>
<body>

<s:if test="msg=='fail'">
  <script >alert("账号或密码错误")</script>
</s:if> 

<div class="container">
    <div class="line">
        <div class="xs6 xm4 xs3-move xm4-move">
            <br /><br />
            <div class="media media-y">
<img src="/static/images/logo5.png" height="80" width="120" class="radius" alt="后台管理系统" />
            </div>
            <br /><br />
            <form action="admin!login.action" method="post">
            <div class="panel">
                <div class="panel-head"><strong>登录后台管理系统</strong></div>
                <div class="panel-body" style="padding:30px;">
                    <div class="form-group">
                        <div class="field field-icon-right">
                            <input type="text" class="input" name="admin.name" placeholder="登录账号" data-validate="required:请填写账号,length#>=5:账号长度必须大于等于5个字符" />
                            <span class="icon icon-user"></span>
                        </div>
                    </div>
                    <div class="form-group">
                        <div class="field field-icon-right">
                            <input type="password" class="input" name="admin.password" placeholder="登录密码" data-validate="required:请填写密码,length#>=6:密码长度必须大于等于6个字符" />
                            <span class="icon icon-key0"></span>
                        </div>
                    </div>
                  
                </div>
                <div class="panel-foot text-center"><button class="button button-block bg-main text-big">立即登录后台</button></div>
            </div>
            </form>
          
        </div>
    </div>
</div>


</body>
</html>